{% extends "my/layout.html" %}

{% block my %}
<div class="container">
    <h3>服务器</h3>
    <hr>

    <div class="row">
        <table class="table table-bordered table-striped">
            <thead>
            <tr>
                <th>序号</th>
                <th>名称</th>
                <th>IP地址</th>
                <th>地址</th>
                <th>描述</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {% for server in servers %}
            <tr>
                <td>{{loop.index}}</td>
                <td>{{server.name}}</td>
                <td>{{server.ip}}</td>
                <td>{{server.location}}</td>
                <td>{{server.desc}}</td>
                <td><a href="{{url_for('over.handlers.my.server.add_account', server=server.id)}}">添加账号</a></td>
            </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>
</div>
{% endblock %}
